import { http } from '@/plugins/axios';
export interface Img {
  url: string;
}

export function uploadImage(data: FormData) {
  return http.request<Img>({
    url: 'upload/image',
    method: 'post',
    data
  });
}
